{template "header.html"}
{template "index-fanhui.html"}
<div class="d-container ">
	<div class="d-row">
		<div class="d-col-md-8-juzhong">
			<div class="d-kuan d-beijing-baise d-yuanjiao-bianhua-10-10 d-hanggao-50" >
				{loop $module_memu $i $t}
				{if $i == 'list' || $i == 'verify'}
				<div class="baifen-20 d-wenzi-juzhong d-quxian-0 {if $mcid==$i} d-beijing-hei-cf{/if}">
					<a href="{$t.url}"> <i class="{$t.icon}"></i> 
					{if $i == 'list'} 圈子 {else} {$t.name} {/if}
					</a>
				</div> 
				{/if}
				{/loop}
				
				{if $id}
				<div class="baifen-20 d-wenzi-juzhong d-quxian-0 d-beijing-hei-cf">
					<a href="{dr_now_url()}"> <i class="fa fa-edit"></i> 修改 </a>
				</div>
				{/if}
				<div class="d-clear"></div>
			</div> 
		</div> 
	</div> 
</div>
<div class="d-clear"></div>
<form class="" role="form" id="myform">
	{dr_form_hidden()}
<div class="d-container ">
	<div class="d-row">
		<div class="d-col-md-8-juzhong">
			<div class="d-kuan d-beijing-baise d-neikuang-15" >
				{loop $list $t}
				<div class="d-kuan d-buhuanhang d-jingguo d-beijing-hei-ef d-xia-15 d-yuanjiao-10">
					<div class="d-kuan d-buhuanhang ">
						<div class="col-md-12 col-xs-12 d-waigao-20 d-xia-20 d-div-zou  d-buhuanhang">
							<div class=" d-yuanjiao-10">
								<img class="d-yuanjiao-30" src="{dr_thumb($t.thumb)}" height="80" width="80"/>
							</div>
							<div class="d-zuo-10">
								<div class="d-jiacu d-wenzi-14 d-quxian-0">
								<a class="href="{$t.url}">{$t['title']}</a>
								</div>
								<div class="d-wenzi-14">
									{loop $mform $a}
									<a class="btn blue btn-xs" href="{dr_member_url(APP_DIR.'/'.$a.table.'/index', ['cid'=>$t.id])}"><i class="{dr_icon($a.setting.icon)}"></i> {dr_lang($a.name)} {if isset($t[$a.table.'_total'])} ({intval($t[$a.table.'_total'])}) {/if} </a>
									{/loop}
									{loop $clink $a}
										{if !$a.uri}
										<a class="btn green btn-xs" href="{str_replace(array('{mid}', '{id}', '{cid}'), array(APP_DIR, $t.id, $t.id), $a.url)}"><i class="{$a.icon}"></i> {$a.name} {if $a.field} ({intval($t[$a['field']])}){/if} </a>
										{/if}
									{/loop}
									<br>
									{Function_list::catid($t['catid'])} 
									<br>
									{Function_list::datetime($t['updatetime'], $param, $t)}
									
								</div>
								
							</div>
						</div>
						
						<div class="d-kuan-100 d-shang-20 d-xia-20 d-you-10">
							<div class="d-shang-15 d-neikuang-5-10 d-beijing-hei d-yuanjiao-20 pull-right d-zitiyanse-bai d-quxian-0">
								<a href="{dr_member_url($uriprefix.'/edit', ['id'=>$t.id])}" class=""> <i class="fa fa-edit"></i></a>
							</div>
						</div>
						<div class="d-kuan-50 d-shang-20 d-xia-20 d-you-10">
							<div class="d-shang-15 d-neikuang-5-10 d-beijing-hei d-yuanjiao-20 pull-right d-zitiyanse-bai d-quxian-0">
								<a href="javascript:dr_ajax_option('{dr_member_url($uriprefix.'/del', ['id'=>$t.id])}', '{dr_lang('你确定要删除吗？')}', 1);" class=""> <i class="fa fa-trash"></i> </a>
							</div>
						</div>
						
					</div>
				</div>

				{/loop}
				{if $mypages}
				<div class="fc-pages text-center">{$mypages}</div>
				{/if}
			</div> 
		</div> 
	</div> 
</div>
{template "fanhui.html"}
{template "mfooter.html"}